NET MESSAGE BITMAP
This command will return a bitmap from the current net message.
NET MESSAGE BITMAP Bitmap Number
Bitmap Number
Integer
The bitmap number
This command does not return a value.
The net message must be of the bitmap type or the command will fail. You can determine the type using the NET MESSAGE TYPE command.
rem Network game can communicate sounds, images and 3D data
while inkey$()<>"z"
cls
print "HANDLE ADVANCED NET MESSAGES (Press Z To Continue)"
print "SENDING..."
GuarenteePacket=1
load bitmap "face.bmp", 1
send net message bitmap 0, 1, GuarenteePacket
delete bitmap 1
rem Receive Part (from all other players)
get net message
if net message exists()=1 then print "RECEIVING..."
while net message exists()=1
ReturnTo=net message player to()
ReturnFrom=net message player from()
if net message type()=6
net message bitmap 1
endif
get net message
endwhile
endwhile
MULTIPLAYER Commands Menu
Index